This is the EnScrypt(tm) Cryptography Package for Macintosh

Highwinds Trading Company
http://www.highwinds.com

 

EnScrypt(tm) is an encryption tool for Macintosh based scripting environments, and FreeBees(tm) is a tool for Macintosh cryptographers that works with EnScrypt to build digital signatures, secure passwords, and other sophisticated security tools. EnScrypt and FreeBees are part of a series of software products for both the developer and the consumer which concentrate on the functional area of security. EnScrypt and FreeBees are implemented as suites of "Osaxen" inside Scripting Additions. Osaxen are fast sub-routines that can be called by AppleScript (and other OSA languages) on MacOS systems.

Installation Instructions: To use EnScrypt and FreeBees, put the contents of the folder "Contents-->Scripting Additions" inside the "Scripting Additions" folder which is inside your System Folder and/or Extensions folder (depending on your version of MacOS). There are three files that need to be put there: EnScrypt Lite, EnScrypt (HW), and FreeBees.

  EnScrypt

EnScrypt is an indispensable tool for software developers, script writers and anyone needing to provide encryption security on the Macintosh platform. Encryption is provided for EnScrypt by the "Blowfish." " Blowfish" is one of several very secure and well-known symmetric encryption algorithims. References, "white papers" and sourcecode for "Blowfish" can be obtained at http://www.counterpane.com.

EnScrypt comes in several standard configurations.

EnScrypt (Lite): Demoware. This is a demo version of EnScrypt that will operate for 90 days. It is restricted in the power of its encryption (24 bit keys) that makes it satisfactory only for testing. Pass any text or file to EnScrypt together with a key, and it will pass back the encrypted text. Pass it an encrypted text, and it passes back the original.

Regular Versions of EnScrypt.
1. Key length. The standard key lengths are 40 bits, 56 bits, 128 bits, and 256 bits. Other strengths can be built on a custom basis.

2. Custom Keys. Consider binding the function of EnScrypt to your application with an "enslavement" key. We can build a custom version of EnScrypt for any application.


NOTE: We have included an "enslaved" version of
EnScrypt with the demo, called "EnScrypt (HW)".
It works only with EnScrypt's Registration
Utility, SecurePass, and other programs
belonging to Highwinds Trading Company.

3. Padding specification. Texts encrypted by EnScrypt are compatible with other implentations of "Blowfish" with the following caveat: The standard version of EnScrypt handles padding in a way that pads with random bits in the encrypted data, and then strips them from decrypted data to produce an exact original (further details below**). Other implementations of Blowfish handle padding differently (or not at all). In order to make EnScrypt compatible with another version of Blowfish (so that you can transmit data between them), padding specifications must be made compatible. EnScrypt can be customized for this purpose.

**Padding Details. The Blowfish encryption algorithm encrypts text in 64-bit (8-character) blocks. This means that from 1 to 7 characters must be added to the end of a message. In order to ensure that the extra characters are truncated from the decrypted text, EnScrypt pads all plaintext before encrypting it, the last extra byte receiving the number of extra bytes, including itself. So a message that ends on an 8-character boundary receives 7 randomly chosen characters plus the value 7. Upon decryption, the last byte is read and its value indicates the number of bytes that must be truncated from the plaintext to recreate the original message.

Version History

June 3, 1999. Version 1.0 is released

June 18, 1999. Version 1.01. Adds documentation and example scripts for doing encryption, digital signatures, and password authentication. Also includes the FreeBees osaxen.

June 22, 1999. Version 1.02. Fixes a bug. Different versions EnScrypt are now compatible with each other and with other implementations of "Blowfish."

August 24, 1999. Version 1.5. Padding improvements, another bug fix, a time limitation in EnScrypt Lite, more flexibility with implementation, improved sample scripts.

 

  EnScrypt Syntax and Samples

Following is the Applescript syntax and samples for (EnScrypt Lite). There are more samples in the folder "Demos and Samples." Except for the prefix "HWL", the other versions of EnScrypt are identical.

HWL Make Subkeys:
use the key supplied by the user to create subkeys. Creates the subkeys which do the actual encryption.
Result: 'HW!!' -- the result (passed back to the script)

HWL Encrypt String: use the keys generated in HW Make Keys to encrypt the data. EnScrypt will encrypt any string
subkeys 'HW!!' -- this is the keylist created by ‘make subkeys’
Result: string -- Encrypted text.

HWL Decrypt String:
use the keys generated in make keys to decrypt the data. This is the encrypted text.
subkeys 'HW!!' -- this is the keylist created by ‘make subkeys’
Result: string -- Decrypted text.


set plaintext to "The rain in Spain stays mainly on the plain"
set pskey to "ThisIsMyPasskey"
set keylist to HWL Make subkeys pskey
set cryptstring to HWL Encrypt String plaintext subkeys keylist
set decryptstring to HWL Decrypt String cryptstring subkeys keylist

 

  FreeBees

 

What Is FreeBees(tm)?

FreeBees is a collection of tools that performs the indispensable tasks of "hashing" (creating a one-way hash of any text), and "hexing" (translating text to and from its hexadecimal equivalent). Use the hashing routine to create secure and/or verify passwords, and the hexing routine to facilitate communication.

 

FreeBees Syntax and Samples

Following is the syntax and samples for (FreeBees). There are more samples in the folder "Demos and Samples."

HW Hex String: Turn a string of characters into the equivalent hexadecimal string - character string
Result: string -- resulting hex string

HW Unhex String: Turn a string of hex digits into a character string - Hex string
Result: string -- Character String


set STR to "•˙•hipª∫ublyf7co87ªb09;on∫"’©87f8ƒ®67d76dfdsr§∞ß6u"
set hexString to HW Hex String STR
set unhexString to HW Unhex String hexString


HW Hashvalue String
: Make a hash of some text - Plain text
Result: string -- hash result -- 20 character text array


set STR to "•˙•hipª∫ublyf7co87ªb09;on∫"’©87f8ƒ®67d76dfdsr§∞ß6u"
set DoHash to HW Hashvalue String STR

 

Product Support

We intend to provide vigorous support for EnScrypt and FreeBees, and to upgrade the package as necessary. Send email to mailto://Highwinds.News-on@lists.highwinds.com. This will put you on the Highwinds Announcement List.

If you have questions or comments, we recommend you subscribe to the support discussion list by sending email to mailto://Highwinds.Support@lists.highwinds.com.

Individual questions should be directed to Support@Highwinds.com.

Highwinds Trading Company
900 N. Philadelphia Pike
Wilmington, DE 19809
Tel. 302-761-9824

 

Copyright, Warranty, and Licence Information

EnScrypt© and FreeBees©1999 by Highwinds Trading Company, LLC. This software is provided "as is", and without any warranty, express or implied, including without limitation, the implied warranties of merchantability or fitness for any purpose. You may NOT redistribute EnScrypt in any form, or incorporate it into any other program that is distributed to the public, unless by our specific written permission.

Licences to EnScrypt come in three versions. The EnScrypt Registration Program contains a utility that will compute a price depending on your choice of strength and number of copies, and type of licence.

* Single licence (for a single person on a single computer).
* Site licence (for a defined group of users at a single location or in single organization).
* Bulk licence (custom built to the specs of a developer's application...for general distribution).

 

Credits

EnScrypt and FreeBees are written by Robert Meigs in ‘C’.

 

Other Highwinds Products and Services

1. SecurePass(tm): an archiving utility for passwords
and other security keys. Designed for the user who
accesses secure network services or who deals with
multiple passkeys that are difficult to secure, memorize,
use, change, and keep track of.
Available: Now.  

2. "The Intelligent Autoresponder" is the answer for
distributing software, brochures, and other digital material.
It supports email attachments, follow-up messages.
Developers should take particular note of the unique
opportunities for cheap and easy delivery of software.
Available: Most Features Available Now. Program in beta testing.  

3. Mailing List and Ezine Hosting. We've been hosting free and
not-quite-free mailing lists for years. Lots of
options. Fast delivery. Great service. Think of
Highwinds not only for mailing lists, but also for
EZines, and broad distribution of announcements, news
letters, brochures, and catalogs (as email attachments).
Available: Now.  

Macintosh and MacOS are trademarks of Apple Computer.